require 'rubygems'
require 'sinatra'
require 'oauth'
require 'pp'
get '/test/:name' do 
  @consumer ||= OAuth::Consumer.new('tA9tx19jhaljjPqrJ5Qw','U7uBhbpiwlfylyQRlzgBMnmOkbwPDBnZO7xZ7BKVGhE',{:site => 'http://api.twitter.com' })
  pp @consumer.get_request_token
  "hello "
end

get '/t/:name/:lihang' do |n,m|
  "ck #{n}========== #{m}"
end